package com.industrial.premu.mapper;

import com.industrial.premu.domain.PreMuPassword;

import java.util.List;

public interface PreMuPasswordMapper  {

     PreMuPassword getbyPassWord(String passWord);

     /**
      * 查询导入密码
      *
      * @param baseId 导入密码主键
      * @return 导入密码
      */
     public PreMuPassword selectPreMuPasswordByBaseId(String baseId);

     /**
      * 查询导入密码列表
      *
      * @param preMuPassword 导入密码
      * @return 导入密码集合
      */
     public List<PreMuPassword> selectPreMuPasswordList(PreMuPassword preMuPassword);

     /**
      * 新增导入密码
      *
      * @param preMuPassword 导入密码
      * @return 结果
      */
     public int insertPreMuPassword(PreMuPassword preMuPassword);

     /**
      * 修改导入密码
      *
      * @param preMuPassword 导入密码
      * @return 结果
      */
     public int updatePreMuPassword(PreMuPassword preMuPassword);

     /**
      * 删除导入密码
      *
      * @param baseId 导入密码主键
      * @return 结果
      */
     public int deletePreMuPasswordByBaseId(String baseId);

     /**
      * 批量删除导入密码
      *
      * @param baseIds 需要删除的数据主键集合
      * @return 结果
      */
     public int deletePreMuPasswordByBaseIds(String[] baseIds);

     public PreMuPassword selectByOldPassWord(String oldPassWord);
}
